package com.njwb.day15.zqzb.job.Test02;

public class NewOrientalEnglish {

    // 定义枚举，表示不同的课程单元和对应的学习目标
    enum CourseUnit {
        U1("少儿英语基础班", "掌握字母发音与基础单词，培养英语兴趣"),
        U2("少儿英语中级班", "学习常用句型与日常对话，提升听说能力"),
        U3("少儿英语提高班", "掌握阅读与写作技巧，拓展英语综合能力");

        private final String courseName;    // 课程名称
        private final String learningGoal;  // 学习目标

        // 构造方法
        CourseUnit(String courseName, String learningGoal) {
            this.courseName = courseName;
            this.learningGoal = learningGoal;
        }

        public String getCourseName() {
            return courseName;
        }

        public String getLearningGoal() {
            return learningGoal;
        }
    }

    // 主方法，输出每个单元的学习目标
    public static void main(String[] args) {
        System.out.println("【新东方英语课程学习目标】");
        for (CourseUnit unit : CourseUnit.values()) {
            System.out.println(unit.name() + " - " + unit.getCourseName());
            System.out.println("学习目标：" + unit.getLearningGoal());
            System.out.println("-------------------------");
        }
    }
}
